package com.shenma2009.service;

import com.shenma2009.domain.ResultResponse;
import com.shenma2009.pojo.TbSecKill;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shenma2009.vo.IdVo;
import com.shenma2009.vo.KillVo;
import com.shenma2009.vo.PageVo;
import com.shenma2009.vo.TbSecKillVo;

/**
* @author 33509
* @description 针对表【tb_sec_kill(秒杀活动表)】的数据库操作Service
* @createDate 2023-05-04 15:05:26
*/
public interface TbSecKillService extends IService<TbSecKill> {

    ResultResponse add(TbSecKillVo tbSecKillVo);

    ResultResponse listByPage(PageVo pageVo);

    ResultResponse startKill(IdVo idVo);

    ResultResponse doKill(KillVo killVo);

    ResultResponse getKill(KillVo killVo);

    Boolean stopSecKIll(Integer killId);
}
